<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
  <TITLE>porting glean to new environments</TITLE>
  <META NAME="description" CONTENT="porting glean to new environments">
  <META NAME="author" CONTENT="Allen Akin">
  <LINK REV="made" HREF="mailto:akin@pobox.com">
</HEAD>

<BODY bgcolor=#FFFFFF topmargin="10" bottommargin="10" leftmargin="10"
  rightmargin="10" marginheight="0" marginwidth="0">

<H1>Porting <I>glean</I> to new environments</H1>

<P>
Thanks to <A HREF="mailto:johan.smet@glo.be">Johan Smet</A>,
we have a working version of <I>glean</I> for Microsoft Windows,
using Visual C++ version 6.

<P>
Porting <I>glean</I> to BeOS and MacOS would be well worthwhile.

<P>
Porting <I>glean</I> to other UNIX variants should be straightforward, but I
haven't looked into it.

<P>
In all of these cases, most of the work is in the window system
code (<KBD>src/libs/dsurf</KBD>, <KBD>src/glean/winsys.cpp</KBD>,
<KBD>src/glean/dsurf.cpp</KBD>).
Some other things are needed in <KBD>src/libs/timer</KBD> and
<KBD>src/glean/environ.cpp</KBD>.
It's always possible that differences in compilers will result in a
need for more pervasive changes; some problems of this type did arise
during the port to Windows.


<HR>
<SMALL>
  <UL TYPE=DISC>
    <LI> <A HREF="index.html"><I>glean</I> home</A>
    <LI> <A HREF="whatis.html">What is <I>glean</I>?</A>
    <LI> <A HREF="build.html">How do I build <I>glean</I>?</A>
    <LI> <A HREF="run.html">How do I run <I>glean</I>?</A>
    <LI> <A HREF="next.html">Where do we go from here?</A>
      <UL TYPE=CIRCLE>
        <LI> <A HREF="newtest.html">Adding new tests</A>
	<LI> <A HREF="newfeat.html">Adding new infrastructure features</A>
	<LI> <A HREF="overview.html">Overview of <I>glean</I> internals</A>
        <LI> <A HREF="repo.html">Creating a repository of results</A>
        <LI> <A HREF="port.html">Porting <I>glean</I></A>
        <LI> <A HREF="cleanup.html">Cleaning up loose ends</A>
      </UL>
    <LI> <A HREF="changes.html">What has changed recently?</A>
  </UL>
</SMALL>

</BODY>
</HTML>
